﻿@model Forest.Cat.Admin.Models.Resumes.TrainingModel
@{
    ViewBag.Title = "培训经历";
    Layout = "~/Administration/Views/Shared/_JobseekerRoot.cshtml";
}
@using (Html.BeginForm("TrainingEdit", "Resume", FormMethod.Post))
{
    <div class="Work_experience">
        <div class="Work_experience_title">
            @ViewBag.Title</div>
        <div class="Work_experience_box">
            <ul>
                <li>
                    <p>
                        培训机构</p>
                    @Html.TextBoxFor(x => x.Institution, new { @class = "long_input" })
                    @Html.ValidationMessageFor(x => x.Institution)
                </li>
                <li>
                    <p>
                        地点</p>
                    @Html.TextBoxFor(x => x.Location, new { @class = "long_input" })</li>
                <li>
                    <p>
                        课程名称</p>
                    @Html.TextBoxFor(x => x.Course, new { @class = "long_input" })
                </li>
                <li>
                    <p>
                        培训时间</p>
                    年：
                    @Html.TextBoxFor(x => x.StartYear, new { @class = "short_input" })
                    月：
                    @Html.DropDownListFor(
                            x => x.StartMonth,
                            (SelectList)ViewBag.ListMonthStart,
                            "月:",
                     new { @class = "short_select" })
                    到
                    @Html.ValidationMessage("RequiredError")
                    @Html.ValidationMessage("StartDataError")
                    <br />
                    年：
                    @Html.TextBoxFor(x => x.EndYear, new { @class = "short_input" })
                    月：
                    @Html.DropDownListFor(
                            x => x.EndMonth,
                             (SelectList)ViewBag.ListMonthEnd,
                             "月:",
                            new { @class = "short_select" })
                    @Html.ValidationMessage("EndDataError")
                    <span>不填写表示您当前仍在学</span> </li>
                <li>
                    <p>
                        所获证书
                    </p>
                    @Html.TextBoxFor(x => x.Qualification, new { @class = "long_input" })
                </li>
                <li>
                    <p>
                        培训内容描述(可选)</p>
                    @Html.TextAreaFor(x => x.Notes, new { @class = "long_textarea" })
                    @Html.ValidationMessageFor(x => x.Notes);
                </li>
                <div class="workEdit_btns">
                    @Html.HiddenFor(x => x.Id)
                    @Html.HiddenFor(x => x.ResumeId)
                    @Html.HiddenFor(x => x.ReturnUrl)
                    <input type="image" src="../../../Administration/Content/images/icons-save-64-19.png" />或
                    <a href="@Model.ReturnUrl">取消</a></div>
            </ul>
        </div>
    </div>
}